Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / UpdateLink Method / UpdateLink(String,Func<Workbook,String,Worksheet>) Method
The name of the link to be updated, as returned from the LinkSources.
The resolver which will be invoked if the reference worksheet is missing.


In This Topic
    UpdateLink(String,Func<Workbook,String,Worksheet>) Method
    In This Topic
    Updates the specified link of this workbook.
    Syntax
    'Declaration
     
    
    Overloads Function UpdateLink( _
       ByVal name As String, _
       Optional ByVal missingWorksheetResolver As Func(Of Workbook,String,Worksheet) _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorkbook
    Dim name As String
    Dim missingWorksheetResolver As Func(Of Workbook,String,Worksheet)
    Dim value As Boolean
     
    value = instance.UpdateLink(name, missingWorksheetResolver)

    Parameters

    name
    The name of the link to be updated, as returned from the LinkSources.
    missingWorksheetResolver
    The resolver which will be invoked if the reference worksheet is missing.

    Return Value

    true if the link is updated successfully; otherwise false.
    Remarks
    When the UpdateLink(string) method is called without any parameters (or name is null/empty), Spread defaults to updating all worksheet links.
    See Also